package com.auxgroup.smarthome.inner.repo;

import com.auxgroup.smarthome.inner.entity.AppFilterFaultEntity;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by lixiaoxiao on 17-8-14.
 */
public interface AppFilterFaultRepo extends JpaRepository<AppFilterFaultEntity,String>{
    AppFilterFaultEntity findByMacAndWashFalse(String mac);
    AppFilterFaultEntity findByMacAndWashTrue(String mac);
    AppFilterFaultEntity findByMac(String mac);
}
